Skip to contentSkip to conversation

(Xenlinux) gentoo-xen-kernel patches questions?

DISCUSSION Mike Viau 3 participants 3 messages Apr 2, 2010 – Apr 5, 2010

lore
Share & tools
lore

Mike Viau

author
#0 lore raw
Quoted 20 lines
Quoted 6 lines
Quoted 9 lines

Hi,

I noticed that the Xenlinux 2.6.33 patches are tagged as being "Deprecated" but the 2.6.31 are not.

May I ask why?

http://code.google.com/p/gentoo-xen-kernel/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount

Fri, 2 Apr 2010 13:15:09 -0400 <[email protected]> wrote:

No idea. But those patches are pursuing an entirely different method of

Quoted 8 lines

getting Linux to work in privileged state (Dom0). The current

development is with the pv-ops one:

http://wiki.xensource.com/xenwiki/XenParavirtOps

I am currently using the unstable version of debain's pvops xen kernel.

http://packages.debian.org/sid/linux-image-2.6.32-4-xen-amd64

It appears to have functioning networking and block devices which is nice, but I have experienced some instabilities such as kernel dumping on reboots. Unfortunately I do not have a console setup to log kernel messages for this machine.

Would compiling the pv_ops kernel from the git repository produce any additional stability?

It was my understanding that one could run a stable Xen systems today with a Xenlinux kernel, as pv_ops was still in development. I've read on the XenParavirtsOps page that there are features available to Xen but are not yet available in the pv_ops kernel (perhaps this wiki has not been updated as I understand Xen 4.0 release is just around the corner!):

Work in progress: dom0
support, currently planned for Linux 2.6.35 (latest pv_ops dom0 patches
can be found from jeremy's git tree, see instructions below) pv-on-hvm driver support Balloon expansion (using memory hotplug) to grow bigger than initial domU memory size To be done: Device hotplug Other device drivers kdump/kexec pvscsi backend (dom0) pvusb backend (dom0) ...?

Quoted 2 lines
Quoted 2 lines

Also is there somewhere one could view list xen features added into linux kernel source (e.g: netchannel2, blktap, etc) ?

Does anyone have a graph or something showing the state of these Xen features/modules in the two predominate Dom 0 capable kernels (Xenlinux & PV_OPS) to share or post to a wiki?

root@localhost:~# tree /lib/modules/2.6.32-4-xen-amd64/kernel/drivers/xen
/lib/modules/2.6.32-4-xen-amd64/kernel/drivers/xen
|-- blktap
|   `-- blktap.ko
|-- xen-evtchn.ko
`-- xenfs
    `-- xenfs.ko

2 directories, 3 files

Other XEN features are compiled as (=y) in the unstable version of debain's pvops xen kernel .config file.

Quoted 3 lines
Quoted 3 lines

Lastly could someone provide perhaps a few xenlinux kernel .configs that works. I have attached my working config used with 2.6.33 source, but I am hoping to get a copy of a more generic + working .config

Recently pv_ops kernel configs for both the 2.6.31 and 2.6.32 kernels have been in circulation. Can anyone share some .configs that were used on Xenlinux kernels (not 2.6.18) when they were in their prime?

Thanks!

-M

_________________________________________________________________
Videos that have everyone talking! Now also in HD!
http://go.microsoft.com/?linkid=9724465

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#1 lore raw
Quoted 1 line

Would compiling the pv_ops kernel from the git repository produce any additional stability?

Good question. It completely depends on speed of your internet connection and :-

# git checkout -b xen/linux-2.6.32.X-stable  origin/xen/linux-2.6.32.X-stable
# make menuconfig ( to enable Xen Dom0 support)
# make -j(x)number_of_cores
# make modules_install install
# mkinitramfs -o /boot/initrd-2.6.32.10.img 2.6.32.10

--- On Fri, 4/2/10, Mike Viau <[email protected]> wrote:

From: Mike Viau <[email protected]>
Subject: RE: [Xen-users] (Xenlinux) gentoo-xen-kernel patches questions?
To: [email protected], [email protected]
Cc: [email protected], [email protected]
Date: Friday, April 2, 2010, 2:03 PM

#yiv646011395 .hmmessage P {margin:0px;padding:0px;}
#yiv646011395 .hmmessage {font-size:10pt;font-family:Verdana;}#yiv646011395

Quoted 14 lines
Quoted 9 lines

Hi,

I noticed that the Xenlinux 2.6.33 patches are tagged as being "Deprecated" but the 2.6.31 are not.

May I ask why?

http://code.google.com/p/gentoo-xen-kernel/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount

Fri, 2 Apr 2010 13:15:09 -0400 <[email protected]> wrote:

No idea. But those patches are pursuing an entirely different method of

Quoted 8 lines

getting Linux to work in privileged state (Dom0). The current

development is with the pv-ops one:

http://wiki.xensource.com/xenwiki/XenParavirtOps

I am currently using the unstable version of debain's pvops xen kernel.

http://packages.debian.org/sid/linux-image-2.6.32-4-xen-amd64

It appears to have functioning networking and block devices which is nice, but I have experienced some instabilities such as kernel dumping on reboots. Unfortunately I do not have a console setup to log kernel messages for this machine.

Would compiling the pv_ops kernel from the git repository produce any additional stability?

It was my understanding that one could run a stable Xen systems today with a Xenlinux kernel, as pv_ops was still in development. I've read on the XenParavirtsOps page that there are features available to Xen but are not yet available in the pv_ops kernel (perhaps this wiki has not been updated as I understand Xen 4.0 release is just around the corner!):


Work in progress: dom0
support, currently planned for Linux 2.6.35 (latest pv_ops dom0 patches
can be found from jeremy's git tree, see instructions below) pv-on-hvm driver support Balloon expansion (using memory hotplug) to grow bigger than initial domU memory size To be done: Device hotplug Other device drivers kdump/kexec pvscsi backend (dom0) pvusb backend (dom0) ...?

Quoted 2 lines
Quoted 2 lines

Also is there somewhere one could view list xen features added into linux kernel source (e.g: netchannel2, blktap, etc) ?

Does anyone have a graph or something showing the state of these Xen features/modules in the two predominate Dom 0 capable kernels (Xenlinux & PV_OPS) to share or post to a wiki?

root@localhost:~# tree /lib/modules/2.6.32-4-xen-amd64/kernel/drivers/xen
/lib/modules/2.6.32-4-xen-amd64/kernel/drivers/xen
|-- blktap
|   `-- blktap.ko
|-- xen-evtchn.ko
`-- xenfs
    `-- xenfs.ko

2 directories, 3 files

Other XEN features are compiled as (=y) in the unstable version of debain's pvops xen kernel .config file.

Quoted 3 lines
Quoted 3 lines

Lastly could someone provide perhaps a few xenlinux kernel .configs that works. I have attached my working config used with 2.6.33 source, but I am hoping to get a copy of a more generic + working .config

Recently pv_ops kernel configs for both the 2.6.31 and 2.6.32 kernels have been in circulation. Can anyone share some .configs that were used on Xenlinux kernels (not 2.6.18) when they were in their prime?

Thanks!

-M

Videos that have everyone talking! Now also in HD! MSN.ca Video.

-----Inline Attachment Follows-----

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users

#2 lore raw
In reply to Mike Viau
Quoted 17 lines · Mike Viau
Quoted 3 lines
Quoted 3 lines

Hi,

I noticed that the Xenlinux 2.6.33 patches are tagged as being

"Deprecated" but the 2.6.31 are not.

Quoted 4 lines
Quoted 4 lines

May I ask why?

http://code.google.com/p/gentoo-xen-kernel/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount

<http://code.google.com/p/gentoo-xen-kernel/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount>

Quoted 8 lines
Quoted 2 lines

Fri, 2 Apr 2010 13:15:09 -0400 <[email protected]> wrote:

No idea. But those patches are pursuing an entirely different method of getting Linux to work in privileged state (Dom0). The current development is with the pv-ops one:

Quoted 8 lines
Quoted 2 lines

http://wiki.xensource.com/xenwiki/XenParavirtOps

I am currently using the unstable version of debain's pvops xen kernel.

http://packages.debian.org/sid/linux-image-2.6.32-4-xen-amd64

It appears to have functioning networking and block devices which is nice, but I have experienced some instabilities such as kernel dumping on reboots. Unfortunately I do not have a console setup to log kernel messages for this machine.

That would be interesting to see. I have also seen oops messages on reboot, if you reboot while domains are still running. For me, at least, it appears to be a bug in blktap2. It would be useful if you could confirm that's what your crashes are, or if its something else.

Quoted 1 line

Would compiling the pv_ops kernel from the git repository produce any additional stability?

I'm not really sure what the Debian image is built from, so its hard to say. I'm getting the impression that their build is pretty closely tracking xen.git now. Are you seeing any other stability problems? Because, honestly, a crash while rebooting is annoying and should be fixed, it doesn't really count as a stability problem if you're rebooting anyway ;). (Unless it either prevents the reboot from working, or causes data-corruption on disk.)

Quoted 1 line

It was my understanding that one could run a stable Xen systems today with a Xenlinux kernel, as pv_ops was still in development. I've read on the XenParavirtsOps page that there are features available to Xen but are not yet available in the pv_ops kernel (perhaps this wiki has not been updated as I understand Xen 4.0 release is just around the corner!):

I'm pretty sure the Debian kernel is pvops based, so any caveats or limitations of one apply to the other.

J